import { createStore } from './createStore'

export const useUserStore = createStore('user', {
  state: {
    token: '',
    permissions: []
  },
  persist: {
    enable: true,
    keys: ['token']
  }
})
